<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/28 0028
 * Time: 下午 4:41
 */

namespace backend\assets;


use common\components\GlobalUrlComponent;
use yii\web\AssetBundle;

class RegionAsset extends AssetBundle
{
    public $baseUrl = '';

    public $css = [
        'plugins/region/region.css'
    ];
    public $js = [
        'plugins/region/region.js',
        'plugins/region/region.data.js',
        'plugins/region/region.init.js'
    ];
    public $depends = [
        AppAsset::class
    ];

    public function __construct(array $config = [])
    {
        $this->baseUrl = GlobalUrlComponent::buildStaticUrl('/');

        parent::__construct($config);
    }
}